package com.jic.product.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.product.entity.ProductUploadException;
import com.jic.product.manage.request.ProductUploadExceptionRequest;
import com.jic.product.manage.response.ProductUploadExceptionResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品导入异常
 * @author : 
 * @email : 
 * @since : 2020-04-27 02:26:45
 * @version : v1.0.0
 */
@Mapper
public interface  ProductUploadExceptionMapper {

    long insert(ProductUploadException productUploadException);

    long delete(Long id);

    long update(ProductUploadException productUploadException);

    ProductUploadException queryByPrimaryKey(Long id);

    List<ProductUploadException> query(ProductUploadException productUploadException);

    List<ProductUploadExceptionResponse> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("productUploadException") ProductUploadExceptionRequest productUploadExceptionRequest);

    long queryPageCount(ProductUploadExceptionRequest productUploadExceptionRequest);
}